//import request from './http'

// export function reqLogin(username,password){
//     return request({
//         url:'/login',
//         data:{username,password},
//         method:'POST'
//     })
// }
import ajax from './http'
const BASE_URL = 'http://127.0.0.1:8888/api/private/v1'
export function reqLogin(username,password){
    return ajax(BASE_URL+'/login',{username,password},"POST")
}